<script type="text/html" template id="TPL_demoUser">
    <div class="layui-form" style="padding-top:20px;padding-right:10px;height: 90%;" id="{{d.params.elemId}}Search">
        <div class="layui-form-item">
            <label class="layui-form-label">id</label>
            <div class="layui-input-block">
                <input class="layui-input" name="id" value="{{d.params.id?d.params.id:''}}" autocomplete="off">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">名称</label>
            <div class="layui-input-block">
                <input class="layui-input" name="name" value="{{d.params.name?d.params.name:''}}" autocomplete="off">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">状态</label>
            <div class="layui-input-block">
                <select name="status"  id="status" >
                    <option value="">请选择</option>
                    {{#
                    layui.each(d.params.statusArr, function(index, item){
                    }}
                    <option value="{{item[0]}}" {{d.params.status==item[0]?'selected':''}}>{{item[1]}}</option>
                    {{# }) }}
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">创建时间</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" id="createTime-laydate-range" autocomplete="off" placeholder=" - ">
                <input type="hidden" name="createTimeStart">
                <input type="hidden" name="createTimeEnd">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">修改时间</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" id="updateTime-laydate-range" autocomplete="off" placeholder=" - ">
                <input type="hidden" name="updateTimeStart">
                <input type="hidden" name="updateTimeEnd">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <input class="layui-input" name="remark" value="{{d.params.remark?d.params.remark:''}}" autocomplete="off">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">createBy</label>
            <div class="layui-input-block">
                <input class="layui-input" name="createBy" value="{{d.params.createBy?d.params.createBy:''}}" autocomplete="off">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">updateBy</label>
            <div class="layui-input-block">
                <input class="layui-input" name="updateBy" value="{{d.params.updateBy?d.params.updateBy:''}}" autocomplete="off">
            </div>
        </div>
        <div class="layui-form-item" >
            <span class="layui-form-label"></span>
            <div class="layui-input-block" style="margin-right:0">
                <button class="layui-btn" lay-submit lay-filter="{{d.params.elemId}}-search" id="{{d.params.elemId}}-search">
                    <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
                </button>
                <button class="layui-btn layui-btn-normal" lay-submit lay-filter="{{d.params.elemId}}-refresh">
                    <i class="layui-icon layui-icon-refresh-3 layuiadmin-button-btn"></i>
                </button>
            </div>
        </div>
    </div>
</script>
